package com.og.ouroa.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Us
 * @since 2021-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CourseStudent对象", description="")
public class CourseStudent implements Serializable {

    //降序
    public static final  int DESC =0;
    //升序
    public static final  int ACSE =1;
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程号")
      @TableId(value = "cid", type = IdType.AUTO)
    private Integer cid;

    @ApiModelProperty(value = "学号")
    private Integer sid;

    @ApiModelProperty(value = "成绩")
    private Double grade;

    @ApiModelProperty(value = "逻辑删除(1: 已删除，0: 未删除)")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
